﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KongMing.ORM.SqlSugar.QueryModels
{
    /// <summary>
    /// 图书查询类，去掉系统字段：创建时间、修改时间、创建人、修改人等
    /// </summary>
    public class QueryBook
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public int Sn { get; set; }

        /// <summary>
        /// 书名
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 进价
        /// </summary>
        public double InPrice { get; set; }

        /// <summary>
        /// 平常售价
        /// </summary>
        public double NormalPrice { get; set; }

        /// <summary>
        /// 折扣率
        /// </summary>
        public double DiscountRatio { get; set; } = 1.0;

        /// <summary>
        /// 售价
        /// </summary>
        public double SellPrice { get; set; }
    }
}
